/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cpsc315project3;

/**
 *
 * @author Dustin Rieke
 */
import java.io.*;
import org.w3c.dom.*;
import org.apache.xerces.parsers.DOMParser;
import org.xml.sax.*;
import org.w3c.dom.traversal.*;
import org.xml.sax.helpers.DefaultHandler;
import org.apache.xerces.parsers.SAXParser;
import org.xml.sax.SAXException;

public class Main 
{
    public static void main(String[] args) 
    {
        try 
        {
            String filename = "FinalDTD.xml";
            HelperMethods hm = new HelperMethods();
            Document d = hm.createParser(filename);
            hm.parseFile(d);
            hm.reportResults();
        } 
        catch (Exception ex) 
        {
            System.out.println(ex);
        }
    }
    
}
